package personal.gj.exam.Service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import personal.gj.exam.Mapper.OrderMapper;
import personal.gj.exam.Model.Order;
import personal.gj.exam.Service.OrderService;
import java.util.List;

@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    OrderMapper orderMapper;

    @Override
    public List<Order> findAll() {
        return orderMapper.selectAll();
    }
}
